<h3>用户登录</h3>
        <!--家长与学生混合登录，注册时控制用户名相互不可重复-->
<div>
    <form role="form" ng-submit="login()">
        <div class="form-group">
            <label>用户名</label>
            <input type="text" class="form-control" ng-model="participant.username"
                   placeholder="请输入姓名" style="width: 30%" required>
        </div>
        <div class="form-group">
            <label>密码</label>
            <input type="password" class="form-control" ng-model="participant.password"
                   placeholder="请输入密码" style="width: 30%" required>
        </div>
        <div class="form-group">
            <button class="btn btn-primary">登录</button>
            <button type="button" class="btn btn-default" ng-click="register()">注册</button>
        </div>
    </form>
</div>